package com.project.poetry.common.util;

import cn.hutool.extra.spring.SpringUtil;
import org.quartz.JobDataMap;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import javax.annotation.Resource;

public class EvaluationPlanJob {

//    @Resource
//    private QualityEvaluationService service = (QualityEvaluationService) SpringUtil.getBean("qualityEvaluationService");
//
//    @Override
//    public void execute(JobExecutionContext context) throws JobExecutionException {
//        JobDataMap data = context.getJobDetail().getJobDataMap();
//        PageData pd = new PageData();
//        pd.put("GID", data.get("GID"));
//        pd.put("DBMETAGID", data.get("DBMETAGID"));
//        service.runEvaluationPlanList(pd);
//    }
}
